package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品信息对象 shop
 * 
 * @author ruoyi
 * @date 2023-11-27
 */
public class Shop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String name;

    /** 产品描述 */
    private String describe;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 说明 */
    @Excel(name = "说明")
    private String memo;

    /** 点击数 */
    private Long hits;

    /** 商品类别 */
    @Excel(name = "商品类别")
    private String goodtype;

    /** 数量 */
    @Excel(name = "数量")
    private Long num;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescribe(String describe) 
    {
        this.describe = describe;
    }

    public String getDescribe() 
    {
        return describe;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setHits(Long hits) 
    {
        this.hits = hits;
    }

    public Long getHits() 
    {
        return hits;
    }
    public void setGoodtype(String goodtype) 
    {
        this.goodtype = goodtype;
    }

    public String getGoodtype() 
    {
        return goodtype;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("describe", getDescribe())
            .append("price", getPrice())
            .append("img", getImg())
            .append("memo", getMemo())
            .append("hits", getHits())
            .append("goodtype", getGoodtype())
            .append("num", getNum())
            .toString();
    }
}
